package com.bbs.service;

import com.bbs.entity.Page;
import com.bbs.entity.Post;

import java.util.List;


public interface PostService {
    Page<Post> findByPage(int curPage);

//    发帖
    int publishPost(Post post);

    //回帖
    Post getPostByPid(int pid);

    List<Post> getPostList(int uid);


}
